#include "llt_myPpf.hh"

using namespace userPPF;

void
myPpf::processData(lee::PktData * const pkt) 
{
  assert(pkt != NULL);
  pub_event1();
  tt::Packet * packet = static_cast<tt::Packet *>(pkt);
  if(packet->ipHdr.protocol == 6) {
    normal(pkt);
  }
  else {
    drop(pkt);
  }
  return;
}

void * 
myPpf::getState(const lee::FlowList & l) {return NULL;}

void 
myPpf::installState(const lee::FlowMap & state) {return;}

void * 
myPpf::getState() {return NULL;}

void 
myPpf::installState(void * state) {return;}

